package vma.nicici.chat.gson;

import java.io.Serializable;

public class Message implements Serializable {
     public Long facebookUserID = -1L;
     public String timestamp = "";
     public String messageText = "";
     public Double lat = -1D;
     public Double lon = -1D;    
     
     public Message() {}
     
     public Message(Long facebookUserID, String timestamp, String messageText, Double lat, Double lon) {
    	 this.facebookUserID = facebookUserID;
    	 this.messageText = messageText;
    	 this.timestamp = timestamp;
    	 this.lat = lat;
    	 this.lon = lon;
	}
     
     @Override
    public String toString() { 
    	 return "fbID: " + facebookUserID + "\n timestamp: " +
    			 timestamp + "\n message text: " + messageText +
    			 "\n lat: " +lat + "\n lon: " +lon ;
    }
}
